package com.FQJ.stock.mapper;

import com.FQJ.stock.pojo.entity.StockBusiness;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Entity com.FQJ.stock.pojo.entity.StockBusiness
 */
public interface StockBusinessMapper {

    int deleteByPrimaryKey(Long id);

    int insert(StockBusiness record);

    int insertSelective(StockBusiness record);

    StockBusiness selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(StockBusiness record);

    int updateByPrimaryKey(StockBusiness record);
	/**
	 * 获取所有股票的code
	 * @return
	 */
	List<String> getStockIds();

	/**
	 * 批量存储数据
	 * @param list
	 */
	void insertBatch(@Param("lists") List list);
}
